<html>
<head>
<TITLE>Marsems System</TITLE>
<META http-equiv=Content-Type content="text/html; charset=UTF-8">
<LINK href="../css/style.css" type=text/css rel=stylesheet>
</head>

<body bgcolor="#FFFFFF" text="#000000">
<table width="100%" cellspacing="1" cellpadding="4">
  <tr bgcolor="#E4E4E4"> 
    <td width="5%">ID</td>
    <td width="5%">Sort</td>
    <td width="5%">Level</td>
    <td width="20%">Name</td>
    <td width="10%">Is Leaf</td>
    <td width="45%">Summary</td>
    <td width="10%">Operation | <b><a href="listInfoClass_Add.php?menuGid={$menuGid}&menuid={$menuid}">Add</a></b></td>
  </tr>
  <tr bgcolor="#FFFFFF" onMouseOver="this.style.backgroundColor='#E9EDED';" onMouseOut="this.style.backgroundColor='#FFFFFF'"> 
    <td colspan="4" align="center"><font color="#FF0000">{$error_message}</font></td>
  </tr>
  {foreach item=data from=$arrDataList}
  <tr bgcolor="#FFFFFF" onMouseOver="this.style.backgroundColor='#E9EDED';" onMouseOut="this.style.backgroundColor='#FFFFFF'"> 
    <td>{$data.id}</td>
    <td>{$data.sorts}</td>
    <td>{$data.level}</td>
    <td>{$data.name}</td>
    <td>{$data.isLeaf}</td>
    <td>{$data.summary}</td>
    <td>{section name=opItem loop=$arrOperateInfo}
   		{if $smarty.section.opItem.index != 0}
    		&nbsp;&nbsp;|&nbsp;&nbsp;
   	    {/if}

   		<a href="{$selfFileName}_{$arrOperateInfo[opItem].name}.php?menuGid={$menuGid}&menuid={$menuid}&id={$data.id}" onClick="return validDefault.isConfirmOperate('{$arrOperateInfo[opItem].name}')">{$arrOperateInfo[opItem].viewName}</a>
    {/section}</td>
  </tr>
  {/foreach}
</table>
<table width="100%" cellspacing="0" cellpadding="4">
  <tr> 
    <td align="left" width="80%">{$PAGE_BAR}</td>
    <td align="center" width="20%"></td>
  </tr>
</table>
</body>
</html>